package com.xs.service;

import org.springframework.stereotype.Service;

/**
 * @Title: <P>UserService.java</P>
 * @Package <P>com.xs.service</P>
 * @Description: <P>TODO该类...</P>
 * @author renweiping
 * @date 2019年2月25日 下午4:10:04
 * @version 1.0
 */

@Service("userService")
@com.alibaba.dubbo.config.annotation.Service
public class UserService implements IUserService{

	/* (non-Javadoc)
	 * @see com.xs.service.IUserService#sayHello(java.lang.String)
	 */
	@Override
	public String sayHello(String msg) {
		// TODO Auto-generated method stub
/*		try {
			Thread.sleep(5000);
		} catch (InterruptedException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}*/
		return "sayHello:" + msg;
	}

	/* (non-Javadoc)
	 * @see com.xs.service.IUserService#sendMsg(java.lang.String)
	 */
	@Override
	public String sendMsg(String msg) {
		// TODO Auto-generated method stub
		return "sendMsg:" + msg;
	}

}
